
include
 .apps("jupiter/windowdimensions")  //load your app
 .plugins('test/qunit')  //load qunit
 .then(function(){       //run your tests
    
   
    
    test("Current Dimensions are Not 0", function(){
        document.body.scrollTop = 500
        document.body.scrollLeft = 500
        var d = $.windowdimensions()
        ok(d, "Dimensions Returned")
        ok(d.windowHeight > 200, "windowHeight = "+d.windowHeight);
        ok(d.windowWidth > 200, "windowWidth = "+d.windowWidth);
        
        ok(d.documentHeight, 2000, "documentHeight = "+d.documentHeight);
        ok(d.documentWidth, 2000, "documentWidth = "+d.documentWidth);
        
        equals(d.scrollLeft, 500, "scrollLeft = "+d.scrollLeft);
        equals(d.scrollLeft, 500, "scrollTop = "+d.scrollTop);
        
        
        ok(d.windowRight, "windowRight = "+d.windowRight);
        ok(d.windowBottom, "windowBottom = "+d.windowBottom);
        
        document.body.scrollTop = 0
        document.body.scrollLeft = 0
    })

})